﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="SuaThanhVien.aspx.cs" Inherits="HelloASPNET.Admin.SuaThanhVien" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <asp:Label ID="lblThongBao" runat ="server" Text="" ForeColor="Red" />
     <table class="auto-style1">
        <tr>
            <td>Username</td>
            <td>
                <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUsername" ErrorMessage="Chưa nhập Username"></asp:RequiredFieldValidator>                
            </td>
        </tr>
        <tr>
            <td>Password</td>
            <td>
                <asp:TextBox ID="txtPassword" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword" ErrorMessage="Chưa nhập password"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>Nhap lai password</td>
            <td>
                <asp:TextBox ID="txtNhapLaiPassword" runat="server"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword" ControlToValidate="txtNhapLaiPassword" ErrorMessage="Password nhập lại không khớp"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Ho Ten</td>
            <td>
                <asp:TextBox ID="txtHoTen" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>Gioi Tinh</td>
            <td>
                <asp:RadioButton ID="radGioiTinhNam" runat="server" Text="Nam" GroupName="GioiTinh" />
                <asp:RadioButton ID="radGioiTinhNu" runat="server" Text="Nu" GroupName="GioiTinh" />
            </td>
        </tr>
        <tr>
            <td>Ngày Sinh:</td>
            <td>
                <asp:TextBox ID="txtNgaySinh" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtNgaySinh" ErrorMessage="Chưa nhập ngày sinh"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="txtNgaySinh" ErrorMessage="Ngày sinh không hợp lệ" Operator="DataTypeCheck" Type="Date"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>
                <asp:Button ID="btnSua" runat="server" Text="Cap nhat"  />
            </td>
        </tr>
    </table>
</asp:Content>
